package com.tanhua.dubbo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tanhua.model.domain.Announcement;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author げっしょく
 * @date 2021/10/30
 */
public interface AnnouncementMapper extends BaseMapper<Announcement> {

    @Select("select * from tb_announcement")
    List<Announcement> selectAll(@Param("page") Page page);

}
